<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div{
				height: 499px;
			}
		</style>
		<script src="../js/jquery-3.4.1.min.js"></script>
		<script>
			$(function(){
				alert($("div").css("height"));
				alert($("div").height());
				/* $("#btn").click(function(){
					var d1=document.getElementById("d1");
					alert(d1.innerHTML);
					var $d1=$(d1);
					//$d1.find("a");//$("div a");
					$d1.find("a").css({"font-size":"40px","color":"red"});
				}); */
				$("#btn").click(function(){
					var d1=$("div")[0];//.get(0);
					alert(d1.innerHTML);
					
				});
			});
		</script>
	</head>
	<body>
		<div id="d1">
			<span>
				<a href="#">Taobao</a>
			</span>
			<a href="#">京东</a>
			<a href="#">唯品会</a>
		</div>
		<input type="button" value="change" id="btn"/>
	</body>
</html>
